﻿using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Vaccination.API.Repositories;

namespace Vaccination.API.Infrastructure.EntityConfigurations
{
    public class VaccinationInfoEntityTypeConfiguration : IEntityTypeConfiguration<VaccinationInfo>
    {
        public void Configure(EntityTypeBuilder<VaccinationInfo> builder)
        {
            builder.ToTable("VaccinationInfos");

            builder.HasKey(o => o.Id);
        }
    }
}
